package com.aidong.jobs.constants;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

public class JobConst {
/*
 * 缓存校验码 key为手机号 value为校验码和时间戳
 */
	public static ConcurrentMap<String, String[]> codeMap = new ConcurrentHashMap<String,String[]>();
	
	/**
	 * 缓存抢购活动的
	 * key为IDong号
	 * value为时间戳
	 */
	public static ConcurrentMap<String, Long> activeMap = new ConcurrentHashMap<String,Long>();
	
	/**
	 * 缓存短信验证码
	 */
	public static ConcurrentMap<String, String[]> msgCodeMap = new ConcurrentHashMap<String,String[]>();
}
